package com.info33.platform.system.dao;

import java.util.List;
import java.util.Map;

import com.info33.platform.system.vo.SysAnnouncementVO;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.info33.platform.system.entity.SysAnnouncement;

public interface SysAnnouncementDao extends BaseMapper<SysAnnouncement>{
	
    List<Map<String, Object>> getMainIdList(Map<String, Object> map);
	
    IPage<SysAnnouncement> getHistoryList(Page page,@Param("map")Map<String, Object> map);
    
    IPage<SysAnnouncement> getDefaultList(Page page,@Param("map")Map<String,Object> map);
    
    IPage<SysAnnouncement> getDefaultHisList(Page page,@Param("map")Map<String,Object> map);
    
    IPage<SysAnnouncement> getAnnouncementPage(Page page,@Param("tenantId") Long tenantId);

	String getFiles(@Param("tenantId")Long tenantId);
}
